package com.boruiimage.demo.doMain;

import java.util.List;
import java.util.Map;

public class ResultModel {

	private int errcode;// 返回码
	private String errmsg;// 返回消息
	private Map<String, Object> data;// 数据源

	public int getErrcode() {
		return errcode;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public Map<String,Object> getData() {
		return data;
	}

	public void setData(Map<String,  Object> data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "ResultModel{" +
				"errcode=" + errcode +
				", errmsg='" + errmsg + '\'' +
				", data=" + data +
				'}';
	}
}
